/**
 * TorrentJEDI
 * 		Torrent Java Episode Download Interface
 */
package torrentjedi.core;

import java.util.List;

/**
 * @author Alper Kokmen
 *
 */
public class SourceConfiguration {
	private List<TorrentSource> sources;

	/**
	 * @return the sources
	 */
	public List<TorrentSource> getSources() {
		return sources;
	}

	/**
	 * @param sources the sources to set
	 */
	public void setSources(List<TorrentSource> sources) {
		this.sources = sources;
	}

	@Override
	public String toString() {
		String returnValue = new String("");
		for (TorrentSource source : getSources()) {
			returnValue += "- " + source + "\n\t";
		}
		return returnValue;
	}
	
	
	
}
